package com.wudimeng.syll.constants;

/**
 * Description: 常量类
 * Date:  20189/4/1  9:24
 * @author: wuxianliang
 */
public interface Constant {

    // Common Message  通用

    String COMMON_INSERT_SUCCESS = "common.insert.success";
    String COMMON_INSERT_FAIL = "common.insert.fail";
    String COMMON_UPDATE_SUCCESS = "common.update.success";
    String COMMON_UPDATE_FAIL = "common.update.fail";
    String COMMON_DELETE_SUCCESS = "common.delete.success";
    String COMMON_DELETE_FAIL = "common.delete.fail";
    String COMMON_ENABLE_SUCCESS = "common.enable.success";     // 启用成功
    String COMMON_ENABLE_FAIL = "common.enable.fail";           // 启用失败
    String COMMON_DISABLE_SUCCESS = "common.disable.success";   // 禁用成功
    String COMMON_DISABLE_FAIL = "common.disable.fail";         // 禁用失败
    String COMMON_OPERATE_SUCCESS = "common.operate.success";   // 操作成功
    String COMMON_OPERATE_FAIL = "common.operate.fail";
    String COMMON_REFRESH_SUCCESS = "common.refresh.success";   // 刷新
    String COMMON_REFRESH_FAIL = "common.refresh.fail";
    String COMMON_PARAMETER_ILLEGAL = "common.parameter.illegal";  //非法参数
    String COMMON_PARAMETER_DEGRADE = "common.parameter.degrade";  // 服务器繁忙请稍候再试
    String EMPTY_STRING = "";//定义默认的空字符串

    String ROBOT_USER_LACK = "robot.user.lack"; // 机器人数量不足

    //账号已存在状态码
    int TYRZ_ZHCZ_STATUS_CODE = 1001;
    String ZH_CZ = "zh.cz";
    //身份证号已存在状态码
    int SFZH_STATUS_CODE = 1002;
    String SFZH_CZ = "sfzh.cz";
    //手机号已存在状态码
    int SJHM_STATUS_CODE = 1003;
    String SJHM_CZ = "sjhm.cz";
    //邮箱已存在状态码
    int YX_STATUS_CODE = 1004;
    String YX_CZ = "yx.cz";
    // 返回错误状态码
    int FAIL_STATUS_CODE = 400;

    // 返回成功状态码
    int SUCCESS_STATUS_CODE = 200;

    //返回失败
    boolean FAIL_STATUS = false;

    //返回成功
    boolean SUCCESS_STATUS = true;

    //身份类型
    String SFLX_XS = "XS";

    //调用ftp删除文件失败
    String FTP_DELETE_FAIL = "调用ftp删除文件失败";

    //调用redis失败
    String REDIS_UPDATE_FAIL = "redis.update.fail";
    String REDIS_DELETE_FAIL = "redis.delete.fail";

    // 导入导出
    String EXCEL_IMPORT_ERROR = "excel.import.error";
    String EXCEL_IMPORT_SUCCESS = "excel.import.success";
    String EXCEL_IMPORT_TEMPLATE_NOTMATCHED = "excel.import.template.notmatched";
    String EXCEL_IMPORT_ROWLIMIT = "excel.import.rowlimit";
    String EXCEL_IMPORT_DATA_ERROR = "excel.import.data.error";




}
